package org.opens.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "User", description = "用户信息描述")
public class User {

    /**
     * 学号
     */
    @ApiModelProperty("证件号")
    private int id;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", readOnly = true)
    private String name;

    /**
     * 年龄
     */
    @ApiModelProperty("年龄")
    private int age;

    /**
     * 性别
     */
    @ApiModelProperty("性别")
    private String sex;

    /**
     * 住址
     */
    @ApiModelProperty("家庭住址")
    private String address;

}
